package vip.ifmm.lehouse.user.service.api.mock;

import vip.ifmm.lehouse.common.bo.SessionBo;
import vip.ifmm.lehouse.common.dto.ServerResponse;
import vip.ifmm.lehouse.common.enums.status.UserLoginStatus;
import vip.ifmm.lehouse.common.model.User;
import vip.ifmm.lehouse.user.service.api.UserLoginService;


/**
 * @author Red
 * email: 1318944013@qq.com
 * date: 2019/6/16 21:36
 */

public class UserLoginServiceMock implements UserLoginService {

    @Override
    public ServerResponse<String> login(User user) {
        return ServerResponse.response(UserLoginStatus.SERVICE_IS_NOT_AVAILABLE);
    }

    @Override
    public ServerResponse<SessionBo> getSessionByToken(String token) {
        return ServerResponse.response(UserLoginStatus.SERVICE_IS_NOT_AVAILABLE);
    }

}
